'use strict';

module.exports = {
  name: [
    { required: true, message: '地区名必填' },
    { type: 'string', message: '地区名必须为字符串' },
    { min: 0, max: 20, message: '地区名长度最大20字' },
  ],
  parentId: [
    { type: 'number', message: '参数不正确' },
  ],
};
